package cn.iocoder.yudao.module.call.controller.admin.record.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;
import java.util.List;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "呼叫中心 - 通话录音分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class CallRecordIvrPageReqVO extends PageParam {

    @Schema(description = "外呼任务id")
    private String taskId;

    @Schema(description = "坐席工号")
    private String agentNumber;

//    @Schema(description = "主叫手机")
//    private String telephone;

    @Schema(description = "被叫")
    private String callee;

    @Schema(description = "呼叫时长")
    private Integer callSecond;

//    @Schema(description = "计费分钟")
//    private Integer callMinute;

    @Schema(description = "录音下载状态", example = "1")
    private Boolean downloadStatus;

    @Schema(description = "录音转文字状态", example = "1")
    private Integer transStatus;

//    @Schema(description = "请求编号")
//    private String reqNo;

    @Schema(description = "呼叫方式", example = "1")
    private Integer callType;


    @Schema(description = "话单状态", example = "success")
    private String resultCode;

    @Schema(description = "呼叫结果", example = "1")
    private Integer resultType;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "意向等级/客户等级列表")
    private List<Long> levels;



}